package com.itkim.qian.service;

import com.itkim.YZUserInfo.domain.YzUser;
import com.itkim.judge.domain.YzJudgeRes;
import com.itkim.qian.domain.YzUserRes;
import com.itkim.qian.domain.YzWorkR;
import com.itkim.work.domain.YzWorkRes;
import com.ruoyi.common.core.domain.AjaxResult;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface LoginService {

    public AjaxResult login(YzUserRes yzUserRes) throws Exception;

    int updatePassword(String oldPassword, String newPassword, YzUserRes yzUserRes);

    String baoming(Long userId, YzWorkRes yzWorkRes);

    void export(Long workId, Integer group, MultipartFile file) throws IOException;

    List<YzWorkR> list(YzWorkR yzWorkR);

    int judge(YzJudgeRes yzJudgeRes);
}
